package com.htthorizon.model.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.htthorizon.common.core.annotation.Excel;
import com.htthorizon.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 数据源配置对象 model_source
 *
 * @author mark
 * @date 2023-11-20
 */
@Data
public class ModelSource extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 数据源名称 */
    @Excel(name = "数据源名称")
    private String sourceName;

    @Excel(name = "英文表名")
    private String sourceTable;

    /** 连接方式-字典表 */
    @Excel(name = "连接方式-字典表")
    private String linkType;

    /** 账号 */
    @Excel(name = "账号")
    private String account;

    /** 密码 */
    @Excel(name = "密码")
    private String securityKey;

    /** 端口 */
    @Excel(name = "端口")
    private Long port;

    /** app code */
    @Excel(name = "app code")
    private String requestCode;

    private String host;

    /** 请求链接 */
    @Excel(name = "请求链接")
    private String requestUrl;

    /** 请求方法 */
    @Excel(name = "请求方法")
    private String requestMethod;

    /** 状态:0正常-1已删除 */
    @Excel(name = "状态:0正常-1已删除")
    private Integer status;

    /** 请求参数列表 */
    @ApiModelProperty(name = "请求参数列表")
    private List<ModelSourceParam> sourceParams;



}
